import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import world.ztomorrow.search.SearchApplication;
import world.ztomorrow.search.task.ESInit;

import java.io.IOException;

@SpringBootTest(classes = SearchApplication.class)
public class SearchText {

    @Autowired
    private ESInit esInit;

    @Test
    public void test() throws IOException {
        esInit.Init();
    }
}
